//package com.plian.system.service.fr.cluemanagement.impl;
//
//import com.plian.system.entity.fr.cluemanagement.ClueCollect;
//import com.plian.system.entity.fr.cluemanagement.ClueManagement;
//import com.plian.system.entity.fr.cluemanagement.CluePreProcessOpinion;
//import com.plian.system.mapper.fr.cluemanagement.ClueCollectMapper;
//import com.plian.system.mapper.fr.cluemanagement.CluePreProcessOpinionMapper;
//import com.plian.system.mybatis.base.BaseService;
//import com.plian.system.mybatis.base.BaseServiceImpl;
//import com.plian.system.service.fr.cluemanagement.IClueCollectService;
//import com.plian.system.service.fr.cluemanagement.ICluePreProcessOpinionService;
//import lombok.AllArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Service;
//
//import java.util.Optional;
//
//@Service
//@Slf4j
//@AllArgsConstructor
//public class CluePreProcessOpinionServiceImpl extends BaseServiceImpl<CluePreProcessOpinionMapper, CluePreProcessOpinion> implements ICluePreProcessOpinionService {
//
//    @Override
//    public boolean submit(CluePreProcessOpinion cluePreProcessOpinion, ClueManagement clueManagement) {
//        if (!Optional.ofNullable(cluePreProcessOpinion.getId()).isPresent()) {
//            cluePreProcessOpinion.setClueManagementId(String.valueOf(clueManagement.getId()));
//        }
//        return super.saveOrUpdate(cluePreProcessOpinion);
//    }
//}
